home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pesquisa Dirigida
/
Pesquisa Dirigida.iso
/
JOGOS
/
buscandoanemo.swf
/
scripts
/
frame_27
/
DoAction.as
Wrap
Text File
|
2005-01-17
|
2KB
|
61 lines
gameOn = 1;
restartGame = 0;
turtleLeanAngle = 0;
turtleVX = 0;
turtleVY = 0;
turtleAngleMove = 3;
turtleAngleMax = 25;
turtleAngleVXConv = 0.7;
turtleAngleReturn = 1;
turtleVYMove = 2;
turtleVYMax = 12;
turtleVYReturn = 0.75;
distanceToTunnelForceConv = 0.06;
distanceToTunnelForceConvIncr = 0.00001;
dttfcStart = distanceToTunnelForceConv;
dttfcStop = 0.12;
dttfcCutoff2 = 0.1;
obsticleWaitMin = 35;
obsticleWaitMax = 75;
obsticleWait = obsticleWaitMax;
obsticleWaitCounter = 0;
obsticleWaitDecrement = 5;
powerupWaitMin = 50;
powerupWaitMax = 120;
powerupWait = powerupWaitMax;
powerupWaitCounter = 0;
objectTweenSteps = 65;
objectTweenStepsDecrement = 0.017;
objectTweenStepsMin = 25;
dupeCounter = 0;
dupeCounterMax = 500;
startGameWait = 20;
turtleFlashing = 0;
livesMax = 3;
livesLeft = livesMax;
babyTurtlesCaught = 0;
turtleBoundaryBorder = 0;
turtleBoundaryLeft = - turtleBoundaryBorder;
turtleBoundaryRight = Stage.width + turtleBoundaryBorder;
turtleBoundaryTop = - turtleBoundaryBorder;
turtleBoundaryBottom = Stage.height + turtleBoundaryBorder;
turtleOutOfBoundsCounter = 0;
turtleOutOfBoundsMax = 50;
turtleFallOffVX = 0;
turtleFallOffVY = 0;
scoreLocal = 0;
scorePerTick = 1;
scoreRemovedObsticle = 50;
scorePowerup = 500;
ridingClipWait = 0;
ridingClipWaitMin = 150;
ridingClipWaitMax = 500;
ridingClipWaitCounter = 0;
ridingClipsTotal = 6;
ridingClipLast = 0;
mailer.loadMovie("http://www.disney.go.com/disneypictures/findingnemo/mailer-turtle.swf");
scores.loadMovie("http://www.disney.go.com/disneypictures/findingnemo/turtle-scores.swf");
badWords.loadMovie("disneyBadWords.swf");
centerX = Stage.width / 2;
centerY = Stage.height / 2;